<template>
  <TabBar>
    <TabBarItem path="/home" aciveColor="blue">
      <img slot="icon" src="~assets/images/tabbar/home.svg" alt="" />
      <img
        slot="icon-active"
        src="@/assets/images/tabbar/home_active.svg"
        alt=""
      />
      <div slot="text">首页</div>
    </TabBarItem>
    <TabBarItem path="/category">
      <img slot="icon" src="@/assets/images/tabbar/category.svg" alt="" />
      <img
        slot="icon-active"
        src="@/assets/images/tabbar/category_active.svg"
        alt=""
      />
      <div slot="text">分类</div>
    </TabBarItem>
    <TabBarItem path="/cart">
      <img slot="icon" src="@/assets/images/tabbar/shopcart.svg" alt="" />
      <img
        slot="icon-active"
        src="@/assets/images/tabbar/shopcart_active.svg"
        alt=""
      />
      <div slot="text">购物车</div>
    </TabBarItem>
    <TabBarItem path="/profile">
      <img slot="icon" src="@/assets/images/tabbar/profile.svg" alt="" />
      <img
        slot="icon-active"
        src="@/assets/images/tabbar/profile_active.svg"
        alt=""
      />
      <div slot="text">我的</div>
    </TabBarItem>
  </TabBar>
</template>

<script>
import { TabBar,TabBarItem} from "components/common/tabbar";
export default {
  data() {
    return {};
  },
  components: {
    TabBar,
    TabBarItem,
  },
  created() {},
  methods: {},
};
</script>

<style lang='less' scoped>
</style>
